import request from "@/utils/request";

// 查询进出口信息列表
export function listComExport (query) {
  return request({
    url: "/basic-api/company/comExport/com/list",
    method: "get",
    params: query,
  });
}

// 查询进出口信息详细
export function getComExport (id) {
  return request({
    url: "/basic-api/company/comExport/com/" + id,
    method: "get",
  });
}

// 新增进出口信息
export function addComExport (data) {
  return request({
    url: "/basic-api/company/comExport/com",
    method: "post",
    data: data,
  });
}

// 修改进出口信息
export function updateComExport (data) {
  return request({
    url: "/basic-api/company/comExport/com",
    method: "put",
    data: data,
  });
}

// 删除进出口信息
export function delComExport (id) {
  return request({
    url: "/basic-api/company/comExport/com/" + id,
    method: "delete",
  });
}
